-- GENERATED SPELL FOR [High Priestess MacDonnell] --


function spell0_11053(pUnit, Event) --@Power Word: Fortitude,n/a--
pUnit:FullCastSpellOnTarget(10937,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11053', 598, 1)
end

function spell1_11053(pUnit, Event) --@Power Word: Fortitude,n/a--
pUnit:FullCastSpellOnTarget(10938,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11053', 594, 1)
end

function Sorts_11053(pUnit, Event)
local choix_sorts_11053 = math.random(0, 1)
if choix_sorts_11053 == 0 then
pUnit:RegisterEvent('spell0_11053', 1, 1)
end
if choix_sorts_11053 == 1 then
pUnit:RegisterEvent('spell1_11053', 1, 1)
end
end

function mob11053_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11053', math.random(1500, 3000), 1)
end

function mob11053_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11053_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11053_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11053, 1, 'mob11053_Action')
RegisterUnitEvent(11053, 2, 'mob11053_Leave')
RegisterUnitEvent(11053, 3, 'mob11053_Kill')
RegisterUnitEvent(11053, 4, 'mob11053_Die')
